1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| [root@VM-2-2 ~] Collecting MySQL-python Downloading https://mirrors.ustc.edu.cn/pypi/web/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip (108kB) 100% |████████████████████████████████| 112kB 1.5MB/s Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-w4528i7v/MySQL-python/setup.py", line 13, in <module> from setup_posix import get_config File "/tmp/pip-build-w4528i7v/MySQL-python/setup_posix.py", line 2, in <module> from ConfigParser import SafeConfigParser ImportError: No module named 'ConfigParser' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-w4528i7v/MySQL-python/
[root@VM-2-2 ~] [root@VM-2-2 ~] pip install -i https://pypi.mirrors.ustc.edu.cn/simple/ unroll
pip install MySQL-python
|